package tank1;

/**
 * Version: 1.1
 * Author: TangJun
 * Date: 2024-07-31
 */
public class Bomb{
    private int x;
    private int y;
    private final int size = 80;
    public static final int LIFE = 12;
    private int life = LIFE;
    public int lifeDown() {
        life--;
        return life;
    }
    public int getLife() {
        return life;
    }

    public int getSize() {
        return size;
    }

    public Bomb(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

}
